﻿namespace Ape.Volo.Common.Global;

/// <summary>
/// 常用的MimeType集合
/// </summary>
public static class MimeTypes
{
    #region application/*

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationForceDownload = "application/force-download";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationJson = "application/json";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationManifestJson = "application/manifest+json";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationOctetStream = "application/octet-stream";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationPdf = "application/pdf";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationRssXml = "application/rss+xml";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationXml = "application/xml";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationXWwwFormUrlencoded = "application/x-www-form-urlencoded";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationXZipCo = "application/x-zip-co";

    /// <summary>
    /// Type
    /// </summary>
    public const string ApplicationZip = "application/zip";

    #endregion

    #region image/*

    /// <summary>
    /// Type
    /// </summary>
    public const string ImageBmp = "image/bmp";

    /// <summary>
    /// Type
    /// </summary>
    public const string ImageGif = "image/gif";

    /// <summary>
    /// Type
    /// </summary>
    public const string ImageJpeg = "image/jpeg";

    /// <summary>
    /// Type
    /// </summary>
    public const string ImagePJpeg = "image/pjpeg";

    /// <summary>
    /// Type
    /// </summary>
    public const string ImagePng = "image/png";

    /// <summary>
    /// Type
    /// </summary>
    public const string ImageTiff = "image/tiff";

    #endregion

    #region text/*

    /// <summary>
    /// Type
    /// </summary>
    public const string TextCss = "text/css";

    /// <summary>
    /// Type
    /// </summary>
    public const string TextCsv = "text/csv";

    /// <summary>
    /// Type
    /// </summary>
    public const string TextJavascript = "text/javascript";

    /// <summary>
    /// Type
    /// </summary>
    public const string TextPlain = "text/plain";

    /// <summary>
    /// Type
    /// </summary>
    public const string TextXlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";

    #endregion
}
